package com.bc.web.config;

public class SystemEnum {
	
	
	/**
	 * 取数状态
	 * 
	 * @author Reed
	 * @date 2017年10月17日
	 */
	public enum ProcessStatus {
		Init("0"), GetDataSuccess("1"), GetDataFail("2"), CompareSuccess("3");

		private String value;

		private ProcessStatus(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum PayOrderItemStatus {
		Create("CO"),TradeSuccess("TS"),TradeFail("TF"),InProcess("IP");
		
		private String value;
		
		private PayOrderItemStatus(String value) {
			this.value = value;
		}
		
		public String getValue() {
			return value;
		}
		
		public void setValue(String value) {
			this.value = value;
		}
	}
	

	/**
	 * 对账状态
	 * 
	 * @author Reed
	 * @date 2017年10月17日
	 */
	public enum CompareStatus {
		Init("0"), LocalError("1"), ChannelError("2"), LocalErrorSuccess("3"), ChannelErrorSuccess("4"), Success("5");

		private String value;

		private CompareStatus(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}

	/**
	 * 出账状态
	 * 
	 * @author Reed
	 * @date 2017年10月17日
	 */
	public enum PaymentStatus {
		Init("0"), Freeze("1"), Thaw("2"), Unknown("3"), Fail("4"), Success("5");

		private String value;

		private PaymentStatus(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum DataType {
		Local("L"), Channel("C");
		
		private String value;
		
		private DataType(String value) {
			this.value = value;
		}
		
		public String getValue() {
			return value;
		}
		
		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum AuditingType {
		Add("0"), Update("1");

		private String value;

		private AuditingType(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}
	
	public enum ReviewedStatus {
		Submit("0"), Rewrite("1");
		
		private String value;
		
		private ReviewedStatus(String value) {
			this.value = value;
		}
		
		public String getValue() {
			return value;
		}
		
		public void setValue(String value) {
			this.value = value;
		}
	}

	public enum FilePath {
		UploadTmp(SystemConfig.config.get("file_center_path") + "upload/tmp/"), 
		Upload(SystemConfig.config.get("file_center_path") + "upload/"), 
		MerchData(SystemConfig.config.get("file_center_path") + "merch-data/"), 
		Zip(SystemConfig.config.get("file_center_path") + "zip/"), 
		ReportTemplate(SystemConfig.config.get("file_center_path") + "report/template/"), 
		ReportTmp(SystemConfig.config.get("file_center_path") + "report/tmp/");

		private String value;

		private FilePath(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}

	public enum ChannelCode {
		Local("LOCAL"), Channel("0002");
		private String value;

		private ChannelCode(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}

	}
	
	/**
	 * 分润
	 * 
	 * @author zhongzhanfeng
	 *
	 */
	public enum ShareStatus {

		No("0"), Yes("1");

		private String value;

		private ShareStatus(String value) {
			this.value = value;
		}

		public String getValue() {
			return value;
		}

		public void setValue(String value) {
			this.value = value;
		}
	}

}
